package com.ruoyi.wjq.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.fk.domain.Question;
import com.ruoyi.ssh.domain.Chapter;
import com.ruoyi.ssh.domain.Course;
import com.ruoyi.ssh.domain.QuestionOption;
import com.ruoyi.ssh.domain.Subject;
import com.ruoyi.youyou.domain.SysYouYouUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户笔记对象 user_note
 * 
 * @author wjq
 * @date 2025-08-12
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserNote extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 笔记ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 题目ID */
    @Excel(name = "题目ID")
    private Long questionId;

    /** 笔记内容 */
    @Excel(name = "笔记内容")
    private String content;

    /** 0为删除，1为保存 */
    private Long del;

    private SysYouYouUser sysYouYouUser;

    private Question question;

    private Subject subject;

    private Course course;

    private Chapter chapter;

    private QuestionOption questionOption;

    // 新增：仅用于查询的字段（不映射数据库，纯粹条件）
    private String nickName; // 仅用于查询的用户昵称
    private String title;    // 仅用于查询的题目标题
    private String subjectName;  //仅用于查询的科目名称




}
